﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage2.master" AutoEventWireup="true" CodeFile="Profile_Change_Password.aspx.cs" Inherits="Web_Profile_Change_Password" %>

<%@ Register assembly="DevExpress.Web.ASPxEditors.v10.2, Version=10.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxEditors" tagprefix="dx" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .style5
        {
            width: 100%;
        }
        .style6
        {
        width: 242px;
    }
        .style8
        {
        width: 201px;
    }
        .style9
        {
            width: 221px;
            font-family: Verdana;
            color: #2D3E5B;
        }
        .style10
        {
            width: 221px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <br/><br/><br/><br/><br/>
    <table class="style5">
        <tr>
            <td class="style6">
                &nbsp;</td>
            <td class="style10">
                &nbsp;</td>
            <td class="style8">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style6">
                &nbsp;</td>
            <td class="style10">
                &nbsp;</td>
            <td class="style8">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style6">
                &nbsp;</td>
            <td class="style10">
                &nbsp;</td>
            <td class="style8">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style6">
                &nbsp;</td>
            <td class="style9">
                Old Password</td>
            <td class="style8">
                <dx:ASPxTextBox ID="Old_Password" runat="server" Width="170px" 
                    ontextchanged="Old_Password_TextChanged" AutoPostBack="True">
                </dx:ASPxTextBox>
            </td>
            <td>
                <asp:Label ID="msg" runat="server" ForeColor="#0099CC"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="style6">
                &nbsp;</td>
            <td class="style9">
                New Password</td>
            <td class="style8">
                <dx:ASPxTextBox ID="New_Password" runat="server" Width="170px">
                </dx:ASPxTextBox>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style6">
                &nbsp;</td>
            <td class="style9">
                Retype Password</td>
            <td class="style8">
                <dx:ASPxTextBox ID="Retype_Password" runat="server" Width="170px">
                </dx:ASPxTextBox>
            </td>
            <td>
                <asp:CompareValidator ID="CompareValidator1" runat="server" 
                    ErrorMessage="Password Do Not Match" Font-Size="X-Small" 
                    BorderStyle="None" ControlToCompare="New_Password" 
                    ControlToValidate="Retype_Password" ForeColor="Red"></asp:CompareValidator>
            </td>
        </tr>
        <tr>
            <td class="style6">
                &nbsp;</td>
            <td class="style10">
                &nbsp;</td>
            <td class="style8">
                <asp:Label ID="success" runat="server" ForeColor="#00CC66"></asp:Label>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style6">
                &nbsp;</td>
            <td class="style10">
                &nbsp;</td>
            <td class="style8">
                <dx:ASPxButton ID="Change" runat="server" ClientIDMode="AutoID" 
                    CssFilePath="~/App_Themes/SoftOrange/{0}/styles.css" CssPostfix="SoftOrange" 
                    SpriteCssFilePath="~/App_Themes/SoftOrange/{0}/sprite.css" Text="Change" 
                    Width="50px" onclick="Change_Click">
                </dx:ASPxButton>
            </td>
            <td>
                <dx:ASPxButton ID="Cancel" runat="server" ClientIDMode="AutoID" 
                    CssFilePath="~/App_Themes/SoftOrange/{0}/styles.css" CssPostfix="SoftOrange" 
                    SpriteCssFilePath="~/App_Themes/SoftOrange/{0}/sprite.css" Text="Cancel" 
                    Width="50px" onclick="Cancel_Click">
                </dx:ASPxButton>
            </td>
        </tr>
        <tr>
            <td class="style6">
                &nbsp;</td>
            <td class="style10">
                &nbsp;</td>
            <td class="style8">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
</asp:Content>

